package com.sun.feign.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name = "nacos-service")
public interface HelloFeignClient {

    @GetMapping("/hi/{name}")
    String sayHi(@PathVariable String name);

}
